#ifndef _SHELL_KUNGFUANDEQUIP_BEAN_H_
#define _SHELL_KUNGFUANDEQUIP_BEAN_H_

#include "Beans.h"
#include "Message.h"
#include <vector>
using namespace std;
class KungFuAndEquip : public Bean
{
	public:
	KungFuAndEquip();
	~KungFuAndEquip();
	void reset();
	KungFuAndEquip* clone();
	//组合id
	int8 effect;
	//添加的值
	int32 value;
	//组合功夫的id
	int32 kungfuId;
	//组合功夫的ids(相当于这个装备上的这个属性可以由多个功夫进行触发)

	vector<int32> kungfuIds;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
